package com.ewili.x.special.dao.inter;

import com.ewili.x.special.entity.AmountStock;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Date;

/**
 * @author wonder
 */
public interface AmountStockDao extends JpaRepository<AmountStock, Long> {


    boolean existsByCodeAndDate(String code, Date date);

    AmountStock findByCodeAndDate(String code, Date date);
}
